﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace MES_workbench.Infraetructure.Migrations
{
    /// <inheritdoc />
    public partial class 更新数据 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<DateTime>(
                name: "PlannedEndTime",
                table: "DataStatistics",
                type: "datetime(6)",
                nullable: true);

            migrationBuilder.AddColumn<DateTime>(
                name: "PlannedStartTime",
                table: "DataStatistics",
                type: "datetime(6)",
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "PlannedEndTime",
                table: "DataStatistics");

            migrationBuilder.DropColumn(
                name: "PlannedStartTime",
                table: "DataStatistics");
        }
    }
}
